<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>

<%@include file="/common/head.jsp" %>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
		<form action="${ctx }/admin/servicePackage/save?id=${n.id }" id="detail-form" class="form-horizontal" method="post">
			<%--<div class="form-group">--%>
				 <%--<!-- 状态，0禁用，1启用 -->--%>
                 <%--<label class="col-sm-2 control-label">状态</label>--%>
                 <%--<div class="col-sm-8">--%>
                 	<%--${enum:detail('ServicePackageStatus', 'status', n.status != null ? n.status : 1)}--%>
                 <%--</div>--%>
            <%--</div>--%>
            <div class="form-group">
                <!-- 服务包名称 -->
                <label class="col-sm-2 control-label">服务包名称</label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" name="name" value="${n.name }">
                </div>
            </div>
            <div class="form-group">
				 <!-- 期限（天） -->
                 <label class="col-sm-2 control-label">期限（天）</label>
                 <div class="col-sm-8">
                 	<input type="text" class="form-control" name="expireDays" value="${n.expireDays }">
                 </div>
            </div>
		</form>
</div>

<%@include file="/common/foot.jsp" %>

</body>
</html>
